﻿function submitbutton(pressbutton)
{
    submitform(pressbutton);
}
function submitform(pressbutton) 
{
    document.aspnetForm.task.value=pressbutton;
	
try {
	document.aspnetForm.onsubmit();
	}
catch(e){}
	document.aspnetForm.submit();			
}